package com.itheima.consumer.feign;

import com.itheima.consumer.domain.Goods;
import org.springframework.stereotype.Component;

@Component
public class GoodsFeignClientsFallback implements GoodsFeignClients{
    @Override
    public Goods findOne(String id) {
        Goods goods = new Goods();
        goods.setName("又被降级了···");
        return goods;
    }
}
